package com.yangcangclub.pay.tenpay;

/**
 * Created by user on 2017/2/24.
 */
public class WeChatConfig {

    public static String AUTHOR_URL	= "https://open.weixin.qq.com/connect/oauth2/authorize";//网页授权获取code
    public static String TOKEN_URL		= "https://api.weixin.qq.com/sns/oauth2/access_token";//根据上面的code获取openid
    public static String USERINFO_URL	= "https://api.weixin.qq.com/sns/userinfo";//获取用户信息
    public static String USERINFO_URL_BASE	= "https://api.weixin.qq.com/cgi-bin/user/info";//获取用户信息
    public static String SENDGROUPREDPACK_URL		= "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendgroupredpack";//发放裂变红包
    public static String SENDREDPACK_URL		= "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendredpack";//发放普通红包
    public static String SHORT_URL 	= "https://api.weixin.qq.com/cgi-bin/shorturl?access_token="; //获取tokenurl
    public static String MESSAGE_SEND_URL= "https://api.weixin.qq.com/cgi-bin/message/template/send";//微信推送url
    /**
     * 统一订单
     */
    public static String ORDER_URL		= "https://api.mch.weixin.qq.com/pay/unifiedorder";//统一下单URL
    /**
     * 查询订单
     */
    public static String ORDERQUERY_URL = "https://api.mch.weixin.qq.com/pay/orderquery";

    /**
     * 关闭订单
     */
    public static String CLOSEORDER_URL = "https://api.mch.weixin.qq.com/pay/closeorder";


    /**
     * 查询退款
     */
    public static String REFUNDQUERY_URL = "https://api.mch.weixin.qq.com/pay/refundquery";

    /**
     * 申请退款
     */
    public static String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";

}
